<html>
<head>
    <meta name="layout" content="freshmade">
</head>

<body>
<div id="content-wrapper">
    <div class="center-wrapper">
        <div class="content">
        <div id="main">
            <div class="post">
                <div class="post-title">
                    <h1><tmpl:expenseGroupOfOwner/></h1>
                    <g:message code="expenseGroup.name"/>
                    <g:render template="/template/messageBar"/>
                </div>

                <div class="post-date">
                    <g:render template="/template/createdBy1"/>
                </div>
            </div>

            <g:form action="save" id="${params.id}">
                <g:hiddenField name="expenseGroup.id" value="${expenseGroup.id}"/>
                <div id="myform">
                    <div class="field">
                        <div class="key"><g:message code="expenseDetail.payDate"/></div>

                        <div class="value-datepicker">
                            <g:datePicker name="payDate" precision="day" relativeYears="[-2..2]"
                                          value="${new java.util.Date()}"/>
                        </div>

                        <div class="hint">花费日期</div>

                        <div class="clear"></div>
                    </div>

                    <div class="field">
                        <div class="key"><g:message code="expenseDetail.payAmount"/></div>

                        <div class="value">
                            <g:textField name="payAmount"/>
                        </div>

                        <div class="hint">
                            输入整数，精确到“元”
                        </div>

                        <div class="clear"></div>
                    </div>

                    <div class="field">
                        <div class="key"><g:message code="expenseDetail.payFor"/></div>

                        <div class="value">
                            <g:textField name="payFor"/>
                        </div>

                        <div class="clear"></div>
                    </div>

                    <div class="buttonbar">
                        <input type="submit" class="button" value="Submit"/>
                        <input type="reset" class="button" value="Reset"/>
                    </div>
                </div>
                </div>
            </g:form>
        </div>
    </div>
</div>
</body>
</html>

